x86: misc boot/link tweaking
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 8 Jun 2015 12:15:59 +0000 (14:15 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 8 Jun 2015 12:15:59 +0000 (14:15 +0200)
commitcb7d7dd277fedd898db4a22ce929eb3d7d407567
tree63a915d97d0d5a312d1e1bf2eda99135a2ab14b1
parent498266eb5fd2af5bed995ed5cf30266eebe7926b
x86: misc boot/link tweaking

 * Introduce symbols bounding the multiboot1 header, which helps clarify that
   it is data and not code corruption when viewing the disassembly.
 * Move the __high_start symbol to its implementation, and declare it
   correctly as ENTRY()
 * Move the l1_identmap construction to be with all the other pagetables, and
   within __page_tables_{start,end}.  This won't affect the EFI relocation
   algorithm, as l1_identmap contains no relocations.
 * Move the cpu0_stack alignment check to the linker.  Chances are very good
   that a binary with a misaligned stack won't get as far as the test.
 * Use MB() in linker script.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/boot/head.S
xen/arch/x86/boot/x86_64.S
xen/arch/x86/setup.c
xen/arch/x86/xen.lds.S